home *** CD-ROM | disk | FTP | other *** search
- from PSPApp import *
- import PSPUtils
-
- def ScriptProperties():
- return {
- 'Author': u'Corel Corporation',
- 'Copyright': u'Copyright (c) 2002-2006 Corel Corporation. All rights reserved.',
- 'Description': "Make a selection appear to sit on top of the image by beveling the edges and casting a shadow.",
- 'Host': u'Paint Shop Pro',
- 'Host Version': u'8.00'
- }
-
-
- def Do(Environment):
- App.Do( Environment, 'FloatSelection', {
- 'ClearSource': None,
- 'BackupSelection': None,
- 'GeneralSettings': {
- 'ExecutionMode': App.Constants.ExecutionMode.Silent,
- 'AutoActionMode': App.Constants.AutoActionMode.Match
- }
- })
-
- App.Do( Environment, 'InnerBevel', {
- 'Ambience': 0,
- 'Angle': 315,
- 'Bevel': 0,
- 'Color': (255,255,255),
- 'Depth': 20,
- 'Elevation': 30,
- 'Intensity': 50,
- 'Shininess': 0,
- 'Smoothness': 0,
- 'Width': 8,
- 'GeneralSettings': {
- 'ExecutionMode': App.Constants.ExecutionMode.Silent,
- 'AutoActionMode': App.Constants.AutoActionMode.Match
- }
- })
-
- App.Do( Environment, 'DropShadow', {
- 'Blur': 5.000000,
- 'Color': (0,0,0),
- 'Horizontal': 10,
- 'NewLayer': App.Constants.Boolean.false,
- 'Opacity': 50,
- 'Vertical': 10,
- 'GeneralSettings': {
- 'ExecutionMode': App.Constants.ExecutionMode.Silent,
- 'AutoActionMode': App.Constants.AutoActionMode.Match
- }
- })
-
- App.Do( Environment, 'SelectPromote', {
- 'KeepSelection': None,
- 'LayerName': PSPUtils.LayerName_BevelSelection,
- 'GeneralSettings': {
- 'ExecutionMode': App.Constants.ExecutionMode.Silent,
- 'AutoActionMode': App.Constants.AutoActionMode.Match
- }
- })
-